<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<style type="text/css">
	table {
	background-color: #ddd;
	width: 450px;
	margin: 30px auto;
	padding: 50px;
	text-align: center;
}
tr td:FIRST-CHILD {
	text-align: right;
}
</style>
</head>
<body>
	<form action="a.jsp" accept-charset="utf-8">
		<table>
			<caption><h2>请输入注册信息</h2></caption>
			<tr>
				<td>用户名：</td>
				<td>
					<input value="" name="username">
				</td>
			</tr>
			<tr>
				<td>密码：</td>
				<td>
					<input name="password" type="password">
				</td>
			</tr>
			<tr>
				<td>信息来源：</td>
				<td>
					<label>
						<input type="checkbox" name="info" value="报刊">报刊
					</label>
					<label>
						<input type="checkbox" name="info" value="网络">网络
					</label>
					<label>
						<input type="checkbox" name="info" value="电视">电视
					</label>
					<label>
						<input type="checkbox" name="info" value="朋友推荐">朋友推荐
					</label>
					
				</td>
			</tr>
			<tr>
				<td></td>
				<td>
					<input type="submit" value="提交">
					<input type="reset" value="重置">
				</td>
			</tr>
		</table>
	</form>
</body>
</html>